package com.baidu.sggc.data.resp;

import java.util.List;
import lombok.Data;

@Data
public class Page<T> {
  private long totalCount;
  private List<T> result;
  private boolean hasNext;

  public Page(long totalCount, List<T> result, boolean hasNext) {
    this.totalCount = totalCount;
    this.result =  result;
    this.hasNext = hasNext;
  }
}
